package com.gxa.modules.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gxa.modules.entity.CrmOrder;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description
 * @Author  XXX
 * @Date 2023-03-10
 */

@Data
@TableName ("crm_order" )
public class OrderPageDTO  implements Serializable {
    private static final long serialVersionUID =  5659996290438333012L;

    /**
     * 当前页码数
     */
    @TableField("当前页码数" )
    private Integer currentPage;

    /**
     * 每页显示记录数
     */
    @TableField("每页显示记录数" )
    private Integer pageSize;

    /**
     * 查询范围
     */
    @TableField("查询范围" )
    private String timeSlot;

    /**
     * 订单ID
     */
    @TableField("order_id" )
    private Integer orderId;

    /**
     * 订单编号
     */
    @TableField("order_no" )
    private Integer orderNo;

    /**
     * 订单总金额
     */
    @TableField("received" )
    private BigDecimal received;

    /**
     * 下单日期
     */
    @TableField("order_date" )
    private Date orderDate;

    /**
     * 交单日期
     */
    private Date presentationDateStart;
    private Date presentationDateEnd;


    /**
     * 订单备注
     */
    @TableField("order_remarks" )
    private String orderRemarks;

    /**
     * 录入时间
     */
    private Date entryTime;

    /**
     * 发货状态id
     */
    @TableField("shipment_status_id" )
    private Integer shipmentStatusId;

    /**
     * 订单状态id
     */
    @TableField("order_status_id" )
    private Integer orderStatusId;

    /**
     * 客户id
     */
    @TableField("customer_id" )
    private Integer customerId;

    /**
     * 员工id
     */
    @TableField("employee_id" )
    private Integer employeeId;

    /**
     * 1为未被删除，0为已删除，假删除状态
     */
    @TableField("delete_state" )
    private Integer deleteState;

}
